package com.ruoyi.gpt.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * Gpt商品列表视图对象 f_gpt_goods
 *
 * @author ztx
 * @date 2023-04-23
 */
@Data
@ExcelIgnoreUnannotated
public class GptGoodsVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    private String goodsName;

    /**
     * 商品标题
     */
    @ExcelProperty(value = "商品标题")
    private String goodsTitle;

    /**
     * 商品描述
     */
    @ExcelProperty(value = "商品描述")
    private String goodsDescription;

    /**
     * 销量
     */
    @ExcelProperty(value = "销量")
    private Long saleNum;

    /**
     * 库存
     */
    @ExcelProperty(value = "库存")
    private Long stock;

    /**
     * 排序字段
     */
    @ExcelProperty(value = "排序字段")
    private Long sort;

    /**
     * 是否上架
     */
    @ExcelProperty(value = "是否上架", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "usr_logic")
    private String shelf;

    /**
     * 销售价格
     */
    @ExcelProperty(value = "销售价格")
    private BigDecimal salesPrice;

    /**
     * 市场价(原价)
     */
    @ExcelProperty(value = "市场价(原价)")
    private BigDecimal marketPrice;

    /**
     * 成本价
     */
    @ExcelProperty(value = "成本价")
    private BigDecimal costPrice;

    /**
     * 商品类型
     */
    @ExcelProperty(value = "商品类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "gpt_goods_type")
    private String goodsType;

    /**
     * 时长
     */
    @ExcelProperty(value = "时长", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "gpt_goods_times_type")
    private String goodsValueTimes;

    /**
     * 次数
     */
    @ExcelProperty(value = "次数")
    private Integer goodsValueCounts;

    /**
     * appid，多个id用,隔开。最多8个
     */
    @ExcelProperty(value = "appid，多个id用,隔开。最多8个")
    private String appid;

    /**
     * 商品图片
     */
    @ExcelProperty(value = "商品图片")
    private String goodsPic;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
